<template>
  <PageMain>
    <template #header></template>
    <template #body>
      <div class="main-container">
        <CellDesc title="基础信息" :list="list" />
        <CellTitle title="财务数据" />
        <Tables :columns="columns"  />
      </div>
    </template>
  </PageMain>
</template>

<script setup lang=ts>
import PageMain from '@/components/PageBox.vue';
import { ref } from 'vue';
import CellDesc from '../components/CellDesc.vue';
import CellTitle from '../components/CellTitle.vue';
import Tables from '../components/Tables.vue';

let list = ref([
{
    name: '凭证名称：',
    value: '信息化项目成本凭证'
  },
  {
    name: '凭证编号：',
    value: '2024010'
  },
])

const columns =[ 
      {
        title: '序号',
        slotName:"index"
      },
      {
        title: '凭证摘要',
        dataIndex: 'salary',
      },
      {
        title: '科目编号',
        dataIndex: 'name',
      },
      {
        title: '会计科目',
        dataIndex: 'name',
      },
      {
        title: '明细科目',
        dataIndex: 'name',
      },
      {
        title: '凭证增减值',
        dataIndex: 'name',
        
      },
      ]
</script>
<style lang="less" scoped>
.main-container{
  padding: 0 24px;
}
</style>